import request from '@/utils/request'

// 规则邮箱配置列表
export function ruleconfigurationLists(params?: Record<string, any>) {
    return request.get({ url: '/ruleconfiguration/list', params })
}

// 规则邮箱配置详情
export function ruleconfigurationDetail(params: Record<string, any>) {
    return request.get({ url: '/ruleconfiguration/detail', params })
}

// 规则邮箱配置新增
export function ruleconfigurationAdd(params: Record<string, any>) {
    return request.post({ url: '/ruleconfiguration/add', params })
}

// 规则邮箱配置编辑
export function ruleconfigurationEdit(params: Record<string, any>) {
    return request.post({ url: '/ruleconfiguration/edit', params })
}

// 规则邮箱配置删除
export function ruleconfigurationDelete(params: Record<string, any>) {
    return request.post({ url: '/ruleconfiguration/del', params })
}
